const Layout = () => import("@/layout/index.vue");

export default {
  path: "/risk-verification",
  name: "RiskVerification",
  component: Layout,
  redirect: "/risk-verification/bas-simulation",
  meta: {
    icon: "monitor",
    title: "风险场景验证",
    rank: 5,
  },
  children: [
    {
      path: "/risk-verification/bas-simulation",
      name: "BasSimulation",
      component: () =>
        import("@/views/risk-verification/bas-simulation/index.vue"),
      meta: {
        title: "BAS模拟攻击验证",
        showLink: true,
        showParent: true,
      },
    },
    {
      path: "/risk-verification/vulnerability-review",
      name: "VulnerabilityReview",
      component: () =>
        import("@/views/risk-verification/vulnerability-review/index.vue"),
      meta: {
        title: "漏洞复核",
        showLink: true,
        showParent: true,
      },
    },
    {
      path: "/risk-verification/vulnerability-review/intelligence/:id",
      name: "IntelligenceDetail",
      component: () =>
        import("@/views/risk-verification/vulnerability-review/components/IntelligenceDetail.vue"),
      meta: {
        title: "情报详情",
        showLink: false,
      },
    },
  ],
} as RouteConfigsTable;
